package com.wh.wisdomsite.xbox.vi.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * 公司下的海康用户表
 * @author 刘旭
 * @version V1.0
 * @Package com.wh.wisdomsite.xbox.vi.entity
 * @date 2018年09月05日 15:48
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@TableName("vi_compHkUser")
public class CompHkUser extends Model<CompHkUser> {
    /**
     * 公司下海康用户ID
     */
    @TableId(type = IdType.UUID)
    private String chkId;

    /**
     * 公司主键
     */
    @TableField("companyId")
    private Integer companyId;

    /**
     * 公司编码
     */
    @TableField("companyCode")
    private String companyCode;

    /**
     * 海康用户id
     */
    @TableField("userUuid")
    private String userUuid;

    /**
     * 登录名
     */
    @TableField("loginAccount")
    private String loginAccount;

    public String getChkId() {
        return chkId;
    }

    public void setChkId(String chkId) {
        this.chkId = chkId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    @Override
    protected Serializable pkVal() {
        return this.chkId;
    }
}
